package com.example.openfeignclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//自己服务的包名
@EnableFeignClients(basePackages = {"com.example.openfeignclient"})
@SpringBootApplication
@EnableEurekaClient
public class OpenfeignclientApplication {

    public static void main(String[] args) {
        SpringApplication.run(OpenfeignclientApplication.class, args);
    }

}
